<div data-page="<{$pageName}>" class="page my_subject" >
	<div class="page-content">
		<div class="tk_main" align="center"> 
			<!--   <img src="/Public/BoxEdu/Images/logo.png">--> 
			<span>会计从业资格无纸化考试模拟系统</span> </div>
		<div class="container text">
			<div class="row">
				<div class="col-md-12 mgt20">
					<div class="col-md-3 box_q_type">
						<!--<ul class="tk_ulL clearfix">
							<li class="tk_wd_v3"><a></a> 未答</li>
							<li class="tk_yd_v3"><a></a> 已答</li>
							<li class="tk_bj_v3"><a></a> 标记</li>
						</ul>-->
						<volist name="questype" id="vo">
							<div class="q_type">
								<div class="head"><{:number2Chinese($key+1)}>、<{$vo.name}></div>
								<ul class="q_table clearfix" >
									<for start="1" end="$vo['examquestionsCount']">
										<li data-li-qid="<{$vo['examquestions'][$i-1]['questionid']}>"><{$i}></li>
									</for>
								</ul>
							</div>
						</volist>
					</div>
					<div class="col-md-7 box_questions">
						<div>考试科目：<{$data.exam}>  &nbsp;&nbsp;性别：<{$user_info['sex_str']}> &nbsp;&nbsp;姓名：<{$user_info['name']}> &nbsp;&nbsp;离考试结束还有：<strong class="band-title" id="showTime">01:16:09</strong></div>
						<div class="mgt10"> <{:Widget('BoxEdu/Questions/subject_exercise',array('examid'=>$examid))}>
							<div class="box_questions_bnt"> <a class="btn btn-success a_bnt" id="pev_questions" style="width:25%;" >上一题</a> <a class="btn btn-success a_bnt" id="next_questions" style="width:25%; margin-left:5%;margin-right:5%">下一题</a> <a class="btn btn-warning a_bnt" id="remark_questions"  style="width:25%;" >待查</a> </div>
						</div>
					</div>
					<div class="col-md-2 box_questions_2" style="position:relative">
						<dl class="tk_xy_v3 clearfloat">
							<div align="center" style="padding-bottom:5px; margin-bottom:5px;" class="avatar"><img  style="width: 65px;height: 65px;" src="http://tu.duia.com///headpic/default/head_48.png"></div>
							<dd>
								
								<div >
									<label>准考证号：</label>
									<p>130600198809045228</p>
								</div>
								<div >
									<label>证件号：</label>
									<p>XX13266798722245646</p>
								</div>
								<div >
									<label>机器号：</label>
									<p>18</p>
								</div>
							</dd>
						</dl>
						<p>已做 <strong class="band-title" id="box_questions_done">0</strong> 道</p>
						<p>未做 <strong class="band-title" id="box_questions_new"><{$data.count}></strong> 道</p>
						<p>待查 <strong class="band-title" id="box_questions_remark">0</strong> 道</p>
						<div class="box_questions_bnt"> <a data-type="confirm" content="确认提交试卷吗？" callback="commit()"  class="btn btn-success a_bnt"   style="width:100%">交卷</a> </div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
<script>
	 function myClose(){
    		top.window.opener = top;
            top.window.open('','_self','');
            top.window.close();
    	}
		var time=<{$examsetting}>;
		var interval;
		if($("#showTime").length>0){
			interval=setInterval(function(){
					time--;
					$("#showTime").html(parseTime(time))
					if(time<=0){
						clearInterval(interval);
						commit();
						//window.location.href="<{:U('moni_info',array('exam_id'=>$exam_id))}>";
					}
				}, "1000");
		}
		function parseTime(v){
        	var longtime=parseInt(v);
        	var h=parseInt(v/3600);
        	if(h>0&&h<10){
        		h='0'+h;
        	}else if(h<=0){
        		h='00';
        	}
        	var m=parseInt((v%3600)/60);
        	if(m>0&&m<10){
        		m='0'+m;
        	}else if(m<=0){
        		m='00';
        	}
        	var s=parseInt(v%60);
        	if(s>0&&s<10){
        		s='0'+s;
        	}else if(s<=0){
        		s='00';
        	}
        	return h+":"+m+":"+s;
        }
	 
	 </script>
